package designpattern.command.keyboard;

public class KeyBoardInvoker {
    private final IKeyBoardCommand keyBoardCommand;

    public KeyBoardInvoker(IKeyBoardCommand keyBoardCommand){
        this.keyBoardCommand = keyBoardCommand;
    }

    public void action(){
        this.keyBoardCommand.execute();
    }
}
